// 每日歌单列表
import request from "../../utils/request";

export const getRecommendResource = (params) =>
    request({
        path: '/recommend/resource',
        method: 'GET',
        params
    })

// 获取歌单详情
export const getPlayListDetail = (params) =>
    request({
        path: '/playlist/detail',
        method: 'GET',
        params
    })



// 每日歌曲列表
export const getRecommendSongs = (params) =>
    request({
        path: '/recommend/songs',
        method: 'GET',
        params
    })


//  获取音乐 url
export const getSongsUrlV1 = (params) =>
    request({
        path: '/song/url/v1',
        method: 'GET',
        params
    })

// 获取歌曲详情
export const getSongsDetail = (params) =>
    request({
        path: '/song/detail',
        method: 'GET',
        params
    })